package com.ylc.service;

import com.ylc.domain.User;

import java.util.List;

/**
 * @Author: ylc
 * @Description:
 * @Date Created in 2022-07-24 12:51
 */
public interface UserService {
    /**
     * url	/user/selectUserPage?userName=z&userSex=男&page=null
     */
    List<User> selectUserPage(String userName,String userSex,int startRow);
    /**
     * /user/getRowCount?userName=z&userSex=男
     */
    int getRowCount(String userName,String userSex);
    /**
     * /user/createUser(参数见下面)
     */
    int createUser(User user);

    /**
     * user/ deleteUserById?userId= 15968162087363060
     */
    int deleteUserById(String userId);
    /**
     * url	/user/updateUserById(参数见以下)
     */
    int updateUserById(User user);

}
